CREATE TABLE [dbo].[TTESTU_ABOG]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_ESTU] [dbo].[TD_VC_003] NOT NULL,
[DE_ESTU] [dbo].[TD_VC_100] NOT NULL,
[DE_DIRE] [dbo].[TD_VC_100] NULL,
[NU_TLF1] [dbo].[TD_VC_020] NULL,
[NU_TLF2] [dbo].[TD_VC_020] NULL,
[NU_FAXS] [dbo].[TD_VC_020] NULL,
[DE_CON1] [dbo].[TD_VC_100] NOT NULL,
[DE_CON2] [dbo].[TD_VC_100] NULL,
[DE_CON3] [dbo].[TD_VC_100] NULL,
[DE_CON4] [dbo].[TD_VC_100] NULL,
[DE_CON5] [dbo].[TD_VC_100] NULL,
[FE_INIC_CASO] [dbo].[TD_DT_001] NULL,
[TI_SITU] [dbo].[TD_VC_003] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTESTU_AB__CO_US__6809520C] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTESTU_AB__FE_US__68FD7645] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTESTU_AB__CO_US__69F19A7E] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTESTU_AB__FE_US__6AE5BEB7] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTESTU_ABOG] ADD CONSTRAINT [PK__TTESTU_A__169C33343A4D7454] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_ESTU]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTESTU_ABOG] ADD CONSTRAINT [FK__TTESTU_AB__CO_EM__5A1B2568] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
